#include "GameSetting.h"

GameSetting::GameSetting(QObject *parent) : QObject(parent)
{
    m_playerNumber  = 2;
    m_questionNumber  = 3;
    m_gameMode  = GameMode::Freeze;
}


int GameSetting::playerNumber() const{
    return m_playerNumber;
}


int GameSetting::questionNumber() const{
    return m_questionNumber;
}

GameSetting::GameMode GameSetting::gameMode() const
{
    return m_gameMode;
}



void GameSetting::setPlayerNumber(int playerNumber){
    m_playerNumber  = playerNumber;
}


void GameSetting::setQuestionNumber(int questionNumber){
    m_questionNumber  = questionNumber;
}


void GameSetting::setGameMode(GameMode gameMode){
    m_gameMode  = gameMode;
}
